package com.future;

import com.future.properties.DemoProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;

/**
 * 入口文件
 *
 * @author WUWY
 * @create 2018-05-12 上午10:10
 **/
@SpringBootApplication
@EnableCaching
@Configuration
@EnableConfigurationProperties(DemoProperties.class)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
